package com.youlu.campus.entity.course.dto;

import com.youlu.campus.entity.UserPO;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.util.Set;

/**
 * @author : [dengbo]
 * @className : RegisterActivityDTo
 * @description : [描述说明该类的功能]
 * @createTime : [2022/6/6 10:18]
 */
@Data
public class RegisterActivityDTO extends PageInfo {
    @NotNull(message = "类型不能为空")
    @Range(min = 0, max = 1, message = "类型为0到1之间")
    private Integer type;
    private UserPO userPO;
    private String appId;
    private String userId;
    private Set<String> userIdList;
    private String platform;
}

